package com.echo.echovividlive.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiajunjie
 * @since 2024-10-22
 */
@Data
@TableName("comment")
public class Comment implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 评论id
     */
    @TableId(value = "comment_id", type = IdType.AUTO)
    private Integer commentId;

    /**
     * 视频id
     */
    private Integer videoId;

    /**
     * 评论时间
     */
    private LocalDateTime createTime;

    /**
     * 发送者id
     */
    private Integer senderId;

    /**
     * 评论
     */
    private String content;

    /**
     * 被评论者id
     */
    private Integer calledId;


}
